import PikaStdLib
import time
print('wait 5 sec')
time.sleep(1)

import socket
from test.test_socket import socket_demo
from test.test_gpio import gpio_demo
from test.test_gpio2 import gpio_demo2
from test.test_uart import uart_demo
from test.test_uart2 import uart_demo2
from test.test_threading_Lock import threading_Lock_demo
from test.test_threading_RLock import threading_RLock_demo
from test.test_collections import collections_deque_demo
from test.test_queue_SimpleQueue import queue_SimpleQueue_demo
from test.test_threading_Semaphore import threading_Semaphore_demo
from test.test_utime import utime_demo
from test.test_print_float import print_float_demo
from test.test_os import os_demo
from test.test_air780e import air780e_demo
from test.test_sfud import sfud_demo
from test.test_StdMobile import StdMobile_demo
from test.test_encode_decode import encode_decode_demo
from test.test_threading_Condition import threading_Condition_demo
from test.test_threading_Thread import threading_Thread_demo
from test.test_queue_LiteQueue import queue_LiteQueue_demo
print('hello PikaScript !')




# mem = PikaStdLib.MemChecker()
# print('mem used now: %s' % type(mem.now()))

# socket_demo() # 测试socket
# gpio_demo() # 测试GPIO
# gpio_demo2() # 测试StdDevice的GPIO
# uart_demo() # 测试UART
# uart_demo2() # 测试StdDevice的UART
# threading_Lock_demo() # 测试互斥锁
# threading_RLock_demo() # 测试可重入互斥锁
# collections_deque_demo() # deque
# threading_Semaphore_demo() 
# utime_demo()
# print_float_demo()
# os_demo()
# air780e_demo()
# sfud_demo()
# StdMobile_demo()
# encode_decode_demo()
queue_SimpleQueue_demo()
# threading_Condition_demo()
# threading_Thread_demo()